package cn.whb.hrm.feign;

import cn.whb.hrm.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "system-server",fallbackFactory = UserInfoFallback.class)
public interface UserInfoFeignClient  {
    @GetMapping("/employee/findUserInfo/{id}")
    AjaxResult findUserInfo(@PathVariable("id") Long id);
}
